import java.util.Scanner;
public class Main1309 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
         int a=n*1000;

         int j= a%x;
         if (j ==0){
             System.out.print(a/x);

        }else {
             System.out.println(a/x+1);
         }
    }
}
